package com.http.model;

public class ResultModel {

	int took;
	boolean timed_out;
	Shares _shards;
	Hits hits;

	public int getTook() {
		return took;
	}

	public void setTook(int took) {
		this.took = took;
	}

	public boolean isTimed_out() {
		return timed_out;
	}

	public void setTimed_out(boolean timed_out) {
		this.timed_out = timed_out;
	}

	public Shares get_shards() {
		return _shards;
	}

	public void set_shards(Shares _shards) {
		this._shards = _shards;
	}

	public Hits getHits() {
		return hits;
	}

	public void setHits(Hits hits) {
		this.hits = hits;
	}

	@Override
	public String toString() {
		return "ResultModel [took=" + took + ", timed_out=" + timed_out + ", _shards=" + _shards + ", hits=" + hits
				+ "]";
	}

}
